<h3><%=t("devise_page.session.title")%></h3>
<h2><%= notice %></h2>
<%= form_for(resource, as: resource_name, url: session_path(resource_name),:remote => false) do |f| %>
	<div class="field">
		<% if checkid_request && !checkid_request.id_select %>
	    	<strong><%=t :your_openid %>:</strong>
	    	<%= checkid_request.identity %>
	    	<span class="note"><%= link_to t(:cancel_this_request), cancel_path %></span>
	    	<%= f.hidden_field :login, autofocus: true, value: extract_login_from_identifier(checkid_request.identity)%>
	    <% else %>
		    <%= f.label t("devise_page.session.login") %><br />
		    <%= f.text_field :login, autofocus: true %>
	    <% end %>
  </div>

  <div class="field">
    <%= f.label t("devise_page.session.password") %><br />
    <%= f.password_field :password, autocomplete: "off" %>
  </div>

  <% if devise_mapping.rememberable? -%>
    <div class="field">
      <%= f.check_box :remember_me %>
      <%= f.label t("devise_page.session.remember_me") %>
    </div>
  <% end -%>

  <div class="actions">
    <%= f.submit  t("devise_page.session.submit") %>
  </div>
<% end %>

<%= render "devise/shared/links" %>
